Pass to agent node
Pass to agent node hands the conversation off to an existing AI Agent or Flow.
Transitions
The node has no transitions because the conversation proceeds in the target Agent or Flow.
Pass to agent node settings
- Target – The Agent or Flow that the conversation is passed to. The drop-down lists all Agents and Flows; pick one of them.
- Share history – Defines whether the conversation history is shared with the target.
- Global node – Enables transition to this node from any other node in the conversation flow.
- Logging – Enables or disables logging for this node. Defaults to inheriting the flow's logging setting.
Passing to a flow
When the Target is a Flow, the node's behavior depends on the role of the flow that contains the node:
- Root flow – the current flow hands off to the new flow, and the conversation continues there.
- Sub-flow in
delegatemode – the new flow replaces the current flow in place and runs immediately, driven by the calling agent's task tree. - Sub-flow in
consultmode – the flow target is ignored; the node behaves the same as an End call node, returning control to the caller.
In all cases the new flow inherits the current flow's variables (on name collisions, the prior flow's values win).
For more details on using flows as sub-agents, see Using flows as sub-agents.